
// 上传文件
export function upload(paths, data = {}) {
    return uni.uploadFile({
        url: import.meta.env.VITE_REQUEST + '/upload',
        filePath: paths,
        name: 'file',
        formData: data
    });
};
